package com.aiti.lulian.mapper;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.dto.CardVersionUpdatesDto;
import com.aiti.lulian.entity.CardVersionUpdates;
import com.aiti.lulian.vo.CardVersionUpdatesVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CardVersionUpdatesMapper extends SuperMapper<CardVersionUpdates> {

    List<CardVersionUpdatesVo> selectCardVersionUpdatesList(@Param("dto") CardVersionUpdatesDto dto, Page<CardVersionUpdates> page);

    CardVersionUpdatesVo selectCardVersionUpdatesDetail(@Param("baseId") String baseId);

    CardVersionUpdatesVo selectCardVersionUpdatesLatest();
}
